package com.photoeditor.demo.util;

import com.photoeditor.demo.model.bean.ThumbnailBean;

import java.util.ArrayList;

public class ArrayUtil {

    public static ArrayList<ThumbnailBean> copyArray(ArrayList<ThumbnailBean> data){
        ArrayList<ThumbnailBean> result = new ArrayList<ThumbnailBean>();
        int l = data.size();
        for(int i = 0 ; i < l ; i++){
            result.add(data.get(i));
        }
        return result;
    }
}
